import { createAPI, createFormAPI } from '@/utils/request'

export const insertSow = data => createFormAPI('/admin/sow', 'post', data)
export const deleteSow = data => createAPI(`/admin/sow/${data.id}`, 'delete', data)
export const updateSow = data => createAPI('/admin/sow', 'put', data)
export const selectSow = data => createAPI('/admin/sow', 'get', data)
export const sowNum=data =>createAPI('/admin/sowNum',"get",data)
